<!DOCTYPE html>
<html>
<head xmlns:th="http://www.thymeleaf.org">
    <meta charset="utf-8">
    <base th:href="${#request.getContextPath()}+'/'">
    <title>面试管理</title>
    <link rel="stylesheet" type="text/css" href="layui/dist/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="css/面试结果登记.css"/>
    <link rel="icon" type="image/png" href="icon/I.png">
    <script src="layui/src/layui.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/train1.js" type="text/javascript"></script>
</head>
<style>
    table tr th {
        text-align: center !important;
        font-weight: bold !important;
    }

    tr td {
        text-align: center
    }
</style>
<body onload="showData2()" style="background: rgb(241, 241, 241) !important;">
<br>
<div id="box1" style="width: 98%; margin: 0 auto">
    <form class="layui-form">
        <input type="text" class="trianId" hidden>

        <table class="layui-table">
            <tr align="center">
                <td>培训名称：</td>
                <td colspan="5"><input type="text" name="name" id="name" class="name layui-input"/></td>
                <!--                <td></td>-->
                <!--                <td></td>-->
                <!--                <td></td>-->
                <!--                <td></td>-->
                <td>审核状态：</td>
                <td>
                    <div class="layui-input-inline" style="display: block;">
                        <div class="layui-input-block" style="margin-left: 0px;">
                            <select name="status" id="status" class="status" lay-verify="">
                                <option value="">--请选择--</option>
                                <option value="起草">起草</option>
                                <option value="审核中">审核中</option>
                                <option value="审核通过">审核通过</option>
                                <option value="驳回">驳回</option>
                            </select>
                        </div>
                    </div>
                </td>
                <td>开始日期：</td>
                <td><input type="date" name="rTime" id="startTime" class="startTime layui-input"/></td>
                <td>
                    <button type="button" onclick="selPro()" class="layui-btn layui-btn-normal">查询</button>
                </td>
                <td>
                    <button class="layui-btn layui-btn-warm "><a href="/新增培训" style="color: white">新增培训计划</a></button>
                </td>
            </tr>
        </table>


        <table class="show1 layui-table">
            <tr>
                <th>序号</th>
                <th>培训名称</th>
                <th>培训讲师</th>
                <th>培训时间</th>
                <th>培训反馈</th>
                <th>审核状态</th>
                <th>操作</th>

            </tr>
            <tr>
                <td></td>
                <td>123</td>
                <td></td>
                <td></td>
                <td></td>
                <td>

                </td>
                <td>
                    <a href="面试结果登记">培训复核</a>&nbsp;&nbsp;
                    <a href="">培训反馈</a>&nbsp;&nbsp;
                    <a href="">修改</a>

                </td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </table>
        <div id="" align="center">
            <input type="button" onclick="first()" value="首页" class="layui-btn layui-btn-normal">&nbsp;&nbsp;
            <input type="button" onclick="prv()" value="上一页" class="layui-btn layui-btn-normal"> &nbsp;&nbsp;
            <span class="page"></span> &nbsp;&nbsp;
            <input type="button" onclick="next()" value="下一页" class="layui-btn layui-btn-normal">&nbsp;&nbsp;
            <input type="button" onclick="last()" value="尾页" class="layui-btn layui-btn-normal">&nbsp;&nbsp;
        </div>

    </form>
</div>
</body>

<script>
    layui.use('form', function () {
        var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功

        //……

        //但是，如果你的HTML是动态生成的，自动渲染就会失效
        //因此你需要在相应的地方，执行下述方法来手动渲染，跟这类似的还有 element.init();
        form.render();
    });
</script>
</html>